<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>AssumeSampleRate Avisynth Filter</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="../../avisynth.css">
</HEAD>
<BODY>
<h2>
<A 
name=AssumeSampleRate></A>AssumeSampleRate 
</h2>
<P><code>AssumeSampleRate </code>(<var>clip, int samplerate</var>)
<P><code>AssumeSampleRate</code> (exists starting from <em>v2.07</em>) changes the sample rate 
  (playback speed) of the current sample. <BR>
  If used alone, it will cause desync with the video, because the playback time is not changed.
<P><b>Examples:</b>
<pre># Let's say that this video is 25fps, 44100hz video clip.
AviSource(&quot;video_audio.avi&quot;)

# Play audio at half speed:
AssumeSampleRate(22050)&nbsp;

# Play video at half speed:
AssumeFPS(12.5)

# Video and audio is now in sync, and plays in slow-motion.</pre>
<p><kbd>$Date: 2011/12/04 15:28:44 $</kbd></p>
<FORM>
  <INPUT onclick=history.go(-1) type=button value=Back>
</FORM>
</BODY>
</HTML>
